package com.naton.common.bean;

import com.luck.picture.lib.entity.LocalMedia;

/**
 * @time: 2022/1/19
 * @author: lifuling
 * @version: v1.0
 * @file_desc:
 */
public class ImageItem extends LocalMedia {
    public String tPath;  // 缩略图路径
    public String oPath;   // 原图路径
    public boolean isSelected = false;

    public ImageItem(){}

    public ImageItem(String tPath , boolean isSelected) {
        this.tPath = tPath;
        this.isSelected = isSelected;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    public String gettPath() {
        return tPath;
    }

    public void settPath(String tPath) {
        this.tPath = tPath;
    }

    public String getoPath() {
        return oPath;
    }

    public void setoPath(String oPath) {
        this.oPath = oPath;
    }

    @Override
    public String toString() {
        return "ImageItem{" +
                "tPath='" + tPath + '\'' +
                ", oPath='" + oPath + '\'' +
                ", isSelected=" + isSelected +
                '}';
    }
}
